package com.hsw.habit.service;

import com.hsw.habit.model.TaskGroups;
import com.hsw.habit.model.bean.ListResponse;

import java.util.List;

public interface GroupService {

    TaskGroups selectGroupById(Integer id);

    ListResponse<TaskGroups> selectGroupsByUserId(Integer userId);

    List<TaskGroups> selectByUserId(Integer userId);

    boolean insertGroup(TaskGroups groupModel);

    boolean updateGroup(TaskGroups groups);

    boolean deleteGroup(Integer id);
}
